# -*- coding: UTF-8 -*-
"""
@Filename:exerc1.py
@author:Cora
@time:2025-04-11
"""
weights = input("请输入小朋友们的体重，用逗号分隔：")
weight_list = [float(w) for w in weights.split(',')]
average_weight = sum(weight_list) / len(weight_list)
heavier_weights = [w for w in weight_list if w > average_weight]
for weight in heavier_weights:
    print(weight, end=" ")